//先引入mockjs模块
import Mock from 'mockjs'
//引入JSON数据格式
import banner from './banner.json'
import floor from './floor.json'
import address from './address.json'

//提供广告位数据接口
//webpack默认对外暴露：图片、JSON数据格式
Mock.mock('/mock/banner',{code:200,data:banner})
Mock.mock('/mock/floor',{code:200,data:floor})
//提供结算页面地址接口
Mock.mock('/mock/address',{code:200,data:address})